package cn.edu.buu.news.exception;

//登录异常
public class NewsException extends RuntimeException {
    private int code;
    public NewsException(int code, String errorMessage){
        super(errorMessage);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }



}